package com.ml.mall.bean.req.company;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @description 接受公司邀请创建账号
 * @author pl
 * @date 2021/6/15
 * @version 1.0
*/
@Data
@Accessors(chain = true)
@ApiModel(value = "接受邀请创建账号")
public class CompanyInviteCreateUserDto {
    @ApiModelProperty(value = "账户名")
    @NotBlank(message = "账户名不能为空")
    private String acc;

    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码不能为空")
    private String pwd;
}
